<#include "../header.ftl" />
<@head title="论坛 - ${sitename}"/>
	<link media="all" href="${template_url}/style/bbs.css" rel="stylesheet">
	<@nav current="论坛"/>
	<div class="container">
		<div class="grid grid-4">
			<form class="search" style="width:175px;" action="${base}/search">
				<input type="hidden" name="scope" value="${scope!"news"}"/>
		  		<input name="w" class="input" placeholder="搜索资讯" value="${w!""}" />
	  			<i class="icon-search"></i>
  				<input type="submit" class="search-trigger" title="搜索" value="">
			</form>
			<div class="box">
				<div class="box-title">资讯分类</div>
			   	<div class="box-body">
			   		<div class="typo-p">
			   			<@m.widget path="/widget/news/catalog" idle=86400/>
			   		</div>
			   	</div>
			</div>
		</div>
		<div class="grid grid-16 last">
			<#if (forumCatalogs?exists && forumCatalogs?size > 0)>
				<#list forumCatalogs as forumCatalog>
					<div class="bbs_fath">
						<h2>
							<span class="left">
								<span class="title"><a href="/forums/board/language">${forumCatalog.name}</a></span>
						    </span>
						    <span class="amount">6737主题，48239回帖<a href="/forums/board/language"><img src="${template_url}/images/bbs/collapsed_no.gif" alt=""></a></span>
					  	</h2>
						<#if (forumCatalog.forums?exists && forumCatalog.forums?size > 0)>
						  	<div class="con">
						  		<#list forumCatalog.forums as forum>
						  			<dl class="bbs_son" id="">
					          			<dt><img alt="${forum.name}" src="${template_url}/images/bbs/forum.gif"></dt>
					          			<dd><strong><a href="${base}/forums/${forum.id}">${forum.name}</a></strong><span class="amount">1286主题 / 9466回帖</span></dd>
					        		</dl>
						  		</#list>
				    		</div>
				    	</#if>
			  		</div>
				</#list>
			</#if>
		</div>
	</div>
<#include "../footer.ftl" />